package com.wh.accesscontrol.dao;

import com.wh.accesscontrol.entity.Stadium;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository

public interface StadiumMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Stadium record);

    int insertSelective(Stadium record);

    Stadium selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Stadium record);

    int updateByPrimaryKey(Stadium record);

    List<Stadium> lisrByDayandStudent(Date startDate, Date endDate,int student);

    List<Stadium> lisrByDay(Date startDate, Date endDate);
}